<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>KCMS</title>
<jsp:include page="../iframecommon.jsp"></jsp:include>
	
 <script src="js/demo-skin-changer.js"></script>  
<script src="js/jquery.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/jquery.nanoscroller.min.js"></script>
<script src="js/demo.js"></script>  
 
<script src="js/jquery.dataTables.js"></script>
<script src="js/dataTables.fixedHeader.js"></script>
<script src="js/dataTables.tableTools.js"></script>
<script src="js/jquery.dataTables.bootstrap.js"></script>
 
<script src="js/scripts.js"></script>
<script src="js/pace.min.js"></script>
 


 <script>
	$(document).ready(function() {
		var table = $('#table-example').dataTable({
			'info': false,
			'sDom': 'lTfr<"clearfix">tip',
			'oTableTools': {
	            'aButtons': [
	                {
	                    'sExtends':    'collection',
	                    'sButtonText': '<i ></i>&nbsp;&nbsp;&nbsp;<i ></i>',
	                    'aButtons':    [ 'csv', 'xls', 'pdf', 'copy', 'print' ]
	                }
	            ]
	        }
		});
		
	    //var tt = new $.fn.dataTable.TableTools( table );
		//$( tt.fnContainer() ).insertBefore('div.dataTables_wrapper');
		
		var tableFixed = $('#table-example-fixed').dataTable({
			'info': false,
			'pageLength': 50
		});
		
		new $.fn.dataTable.FixedHeader( tableFixed );
	});
	</script>
	
	
</head>
<body>

<%-- <div id="reportrange" class="pull-right daterange-filter">
<i class="icon-calendar"></i>
<span>请选择日期范围</span> <b class="caret"></b>
</div> --%>




<form action="ppt_muldel" method="post">

<div class="alert alert-success">
请注意，勾选下列选项卡可以批量删除课件
<button class="btn btn-success" type="submit">批量删除</button>
<button class="btn btn-default" type="reset">清空已选项</button>
</div>


<!--  -->



<div class="table-responsive">
<div class="dataTables_wrapper no-footer" id="table-example_wrapper"><div class="DTTT_container"><a id="ToolTables_table-example_0" class="DTTT_button DTTT_button_collection"></a></div><div class="clearfix"></div>
<table role="grid" id="table-example" class="table table-hover dataTable no-footer">
<thead>
<tr role="row">
<th aria-sort="ascending" aria-label="Name: activate to sort column ascending" style="width: 20px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting_asc"></th>
<th aria-label="Position: activate to sort column ascending" style="width: 100px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">课程号</th>
<th aria-label="Office: activate to sort column ascending" style="width: 100px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">课序号</th>
<th aria-label="Age: activate to sort column ascending" style="width: 150px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">章节名</th>
<th aria-label="Start date: activate to sort column ascending" style="width: 250px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">描述</th>
<th aria-label="Salary: activate to sort column ascending" style="width: 250px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">文件名</th>
<th aria-label="Salary: activate to sort column ascending" style="width: 250px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">上传时间</th>
<th aria-label="Salary: activate to sort column ascending" style="width: 80px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">下载</th>
<th aria-label="Salary: activate to sort column ascending" style="width: 80px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">删除</th>
</tr>
</thead>
<tbody>
<s:iterator value="ptc" status="pptid">
   <tr>
   	  <td>
   	  <div class="chbox"><div class="checkbox-nice">
   	  <input type="checkbox" name="delcheck" value="<s:property value='pptid'/>" id="<s:property value='pptid'/>"/>
   	  <label for="<s:property value='pptid'/>"></label>
   	  </div></div>
   	  </td>
      <td><s:property value="cid" /></td>
      <td><s:property value="csn" /></td>
      <td><s:property value="chapter" /></td>
	  <td><s:property value="description" /></td>
      <td><s:property value="name" /></td>
      <td><s:property value="uploadtime" /></td>
      <td>
      <a href="ppt_downloadFile?pptid=<s:property value='pptid'/>" class="table-link">
		<span class="fa-stack">
		<i class="fa fa-square fa-stack-2x"></i>
		<i class="fa fa-download fa-stack-1x fa-inverse"></i>
		</span>
	  </a>
      </td>
      <td>
      <a href="ppt_delFile?pptid=<s:property value='pptid'/>" class="table-link">
		<span class="fa-stack">
		<i class="fa fa-square fa-stack-2x"></i>
		<i class="fa fa-trash-o fa-stack-1x fa-inverse"></i>
		</span>
	  </a>
      </td>
   </tr>
</s:iterator>
</tbody>
</table>

</div>
</div>
</form>




</body>
</html>


